package com.cskaoyan.javase.oop3._0abstract._1basic;

/**
 * 抽象类的子类
 * @since 15:52
 * @author wuguidong@cskaoyan.onaliyun.com
 */
// Class 'Son' must either be declared abstract or implement abstract method 'testAbstract()' in 'AbstractDemo'
public class Son extends AbstractDemo {
    @Override
    public void test() {
        super.test();
    }

    @Override
    public void testAbstract() {
        System.out.println("我实现了抽象父类中的抽象方法!");
    }

    @Override
    public void testAbstract2() {
        System.out.println("6");
    }

    public Son() {
        // super();
    }

    public Son(int a, int b) {
        super(a, b);
    }

}
